#include "../import/head.h"
#include "settings.h"
#include "../import/import.h"
#include "../data_struct/head.h"
#include "../global/head.h"
#include "../macro/head.h"
#include "../msg/head.h"

namespace xos_sgsj
{

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // 

    settings::settings()
    {
        memset( m_szWatchZookeeperPath, 0, sizeof( m_szWatchZookeeperPath ) );
        memset( m_szMyZookeeperPath, 0, sizeof( m_szMyZookeeperPath ) );
        m_nClientNum = 0;
    }

    settings::~settings()
    {
    }

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // 

    int settings::init()
    {
        int ret = 0;

        g_pSysData->m_os.m_pCrt->strcpy( m_szWatchZookeeperPath, "/app/zerosum/trade" );
        g_pSysData->m_os.m_pCrt->strcpy( m_szMyZookeeperPath, "/app/zerosum/gate" );
        
        return ret;
    }

    int settings::term()
    {
        int ret = 0;
        return ret;
    }

} // xos_sgsj
